﻿<Window x:Class="YSGetLatest.FolderWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Folder" Height="141" Width="321"
		FocusManager.FocusedElement="{Binding ElementName=textBoxFolder}"
		WindowStartupLocation="CenterOwner" ShowInTaskbar="False" Icon="/YsGetLatest;component/App.ico">
    <Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>
		<Label Grid.Row="0" Grid.Column="0" Target="{Binding ElementName=textBoxFolder}">_Folder:</Label>
		<TextBox Grid.Row="0" Grid.Column="1" Name="textBoxFolder" Text="{Binding Path=Folder.Name}"/>
		<StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Center">
			<Button Click="ButtonOK_Click" IsDefault="True">OK</Button>
			<Button Click="ButtonCancel_Click" IsCancel="True">Cancel</Button>
		</StackPanel>
	</Grid>
</Window>
